"""Bootstrap for running a Django app under Google App Engine.

The site-specific code is all in other files: settings.py, urls.py,
models.py, views.py.  And in fact, only 'settings' is referenced here
directly -- everything else is controlled from there.

"""

# Standard Python imports.
import os
import sys
import logging
import __builtin__
import webapp2
import views

# Enable info logging by the app (this is separate from appserver's
# logging).
logging.getLogger().setLevel(logging.INFO)

# Create a Django application for WSGI.
app = webapp2.WSGIApplication( [
    ('/', views.Index ),
    ('/download', views.Download ),
    ('/upload', views.Upload ),
    ], debug=True )

